package com.share.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.device.domain.Station;
import com.share.device.domain.vo.StationVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
/**
 * 站点接口
 *
 * @author
 * @date 2025-06-24
 */
public interface IStationService extends IService<Station>
{
    /**
     * 查询站点列表
     * @param station
     * @return
     */
    public List<StationVo> selectStationList(Station station);

    /**
     * 保存站点
     * @param station
     * @return
     */
    int saveStation(Station station);

    /**
     * 修改站点
     * @param station
     * @return
     */

    int updateStation(Station station);

    /**
     * 删除站点
     * @param list
     * @return
     */
    boolean removeByIds(Long[] list);

    /**
     * 站点设置关联数据
     * @param station
     * @return
     */
    int setData(Station station);
}